package com.duobaoyu.dby.supply.biz.service.refund.event;

import com.duobaoyu.dby.supply.common.biz.bo.refund.AfterSaleAuditRuleBO;
import lombok.Data;

import java.util.List;

/**
 * Created by shuming on 2023/10/23 11:10
 * 售后单创建事件
 */
@Data
public class AfterSaleCreateEvent {

    /**
     * 渠道交易单号
     */
    private String channelAfterSaleTradeOrderSn;
    /**
     * 售后单号
     */
    private String afterSaleSn;

    /**
     * 售后类型
     */
    private Integer afterSaleType;

    /**
     * 订单号
     */
    private String orderSn;

    /**
     * 售后状态
     */
    private Integer afterSaleStatus;

    /**
     * 订单自动取消
     */
    private Boolean orderAutoCancel;

    /**
     * 售后审核规则
     */
    private AfterSaleAuditRuleBO auditRule;

    private List<Sku> skuList;

    @Data
    public static class Sku {
        private String skuCode;
        private String skuName;
    }
}
